package com.jiang.vo;

import java.io.Serializable;

@SuppressWarnings("serial")
public abstract class Member implements Serializable {

	private String mid;
	private String name;
	private Integer age;
	private String flag; // MyBatis中识别器字段我们自己维护

	public Member() {

	}

	public Member(String mid, String name, Integer age, String flag) {
		super();
		this.mid = mid;
		this.name = name;
		this.age = age;
		this.flag = flag;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	@Override
	public String toString() {
		return "Member [mid=" + mid + ", name=" + name + ", age=" + age + ", flag=" + flag + "]";
	}

}
